Exercise 10 (Homework 2).
(regular languages,
decidable properties)
DFAs – some decidable properties
Show that the following computational problems are decidable by providing an algorithm (with reasonable cost) that solves them.
- Given a DFA A, is L(A)=\emptyset?
- Given a DFA A, is L(A) an infinite set?
- Given two DFAs A and B, is L(A)=L(B)?
- Given two DFAs A and B, is L(A)\subseteq L(B)?